<?php namespace Home\Controller;
use Hdphp\Controller\Controller;

class ListController extends Controller{
	
	
	public function index(){
		
		$cid = Q('get.cid','0','intval');
		
		$List = new \Home\Model\Category;
		
		$goodsData = $List->look($cid);
//		sp($goodsData);exit;
		View::with('goodsData',$goodsData);
		View::make();
	}

}



 ?>